package com.SunSoft.PhoneRemoteControl;

import android.os.Handler;
import android.os.Message;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.message.BasicNameValuePair;

final class p
  implements Runnable
{
  public final void run()
  {
    try
    {
      this.a.an = new ArrayList();
      this.a.an.add(new BasicNameValuePair("txtUser_name", this.a.aj));
      this.a.an.add(new BasicNameValuePair("txtPassword", this.a.ak));
      this.a.an.add(new BasicNameValuePair("control_data_value", ""));
      this.a.an.add(new BasicNameValuePair("action_value", "get"));
      this.a.aZ = true;
      this.a.bb = "http://www.tasogo.com/user_msg.aspx";
      this.a.bc = dg.a(this.a.bb, this.a.an);
      this.a.aZ = false;
      MainControl.a("Test", "Get_replay_msg:" + this.a.bc);
      if (this.a.bc.startsWith("1||1||"))
      {
        this.a.bw = this.a.bc.substring(3);
        MainControl.a("Test", "get_feedback_info:" + this.a.bw);
        MainControl.d(this.a).a("feedback_info", this.a.bw);
        if ((this.a.bw == null) || (this.a.bw.equals("")))
          return;
        Object localObject = this.a.bw.split("\\|\\|");
        if (localObject.length <= 6)
          return;
        this.a.bs = localObject[6].equals("1");
        this.a.bt = localObject[9].equals("1");
        this.a.bv = localObject[5] + "||" + localObject[2] + "||" + localObject[3];
        if ((!(this.a.bs)) || (this.a.bt))
          return;
        localObject = new Message();
        ((Message)localObject).what = 20;
        this.a.ca.sendMessage((Message)localObject);
        return;
      }
      this.a.bw = MainControl.d(this.a).a("feedback_info");
      return;
    }
    catch (Exception localException)
    {
      MainControl.a("Test", "Get_replay_msg:null");
      this.a.bf = null;
    }
  }
}